package com.seaboxdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seaboxdata.dao.ProjectInfoDao;
import com.seaboxdata.entity.ProjectInfo;
import com.seaboxdata.service.ProjectInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProjectInfoServiceImpl extends ServiceImpl<ProjectInfoDao,ProjectInfo> implements ProjectInfoService {

    @Autowired
    private ProjectInfoDao projectInfoDao;

    @Override
    public String getMaxGenerateTime(){
        return baseMapper.getMaxGenerateTime();
    }

    @Override
    public void insert(ProjectInfo projectInfo) {
        projectInfoDao.insert(projectInfo);
    }
}
